I love the smell of UnrealEd crashing in the morning. – tarquin

Legacy:Console Commands/General Console Commands

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search

What follows is a definition of all of the console commands that are in general use across all versions of the Unreal Engine.

General[edit]

SAY <message string> 
Broadcast a message to other players in the game.
SETNAME <newname> || NAME <newname>
Change your name (works in network play too).
SUICIDE 
Commit suicide.
TEAMSAY <message string> 
Broadcast a message to your teammates.
PAUSE 
This pauses the current game. In networked games you will have to be logged in as an administrator to use this command. See Console Commands/Admin Console Commands.
THROWWEAPON 
This command throws your current weapon to the ground.
SHOT 
This command saves a screenshot into the Unreal Engine game's System directory.
FOV 
This command changes your field of view. NOTE: In Devastation this command is largely disabled.
RELOAD 
This command can be used to reload the current weapon. Not implemented in all Unreal Engine games although available for mods.
ACTIVATEITEM 
This command can be used to activate the currently selected inventory item. Not implemented in all Unreal Engine games although available for mods.
USE 
Causes any ScriptedSequence in contact with the player's pawn to call it's UsedBy function. This is intended for triggers that need to be explicityly activated by a button press.

Input[edit]

KEYNUMBER <keyname> 
Returns Interactions.EInputKey index.
KEYNAME <keyindex> 
Returns specifed Interactions.EInputKey in meatbag-friendly form.
LOCALIZEDKEYNAME <keyindex> 
Returns specifed Interactions.EInputKey in localized, meatbag-friendly form (unconfirmed).
KEYBINDING <keyname> 
Returns action bound to specified key.
BINDINGTOKEY <action> 
Returns comma-separated list of keys with specified action bound to them.
COUNTBINDINGTOKEY <action> 
Returns numbers of keys with specified action bound to them.
FINDKEYBINDS <text> 
Returns comma-separated list of actions with names starting with "text".